package com.woyou.exception;

import retrofit.RetrofitError;

/**
 * 网络异常
 * @author longtao.li
 *
 */
public class NetException extends Exception {

	private RetrofitError error;
	
	public RetrofitError getError() {
		return error;
	}

	public void setError(RetrofitError error) {
		this.error = error;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public NetException(RetrofitError error) {
		this.error = error;
	}

}
